
<p><b>syntax:</b> <i>default_type MIME-type</i>
</p><p><b>default:</b> <i>default_type text/plain</i>
</p><p><b>context:</b> <i>http, server, location</i>
</p><p>Assigns the default MIME-type to be used for files where the standard MIME map doesn't specify anything.
</p><p>See also types
</p><p>Example:
</p><p></p>
<pre class="code"><span class="kw3">location</span> = /proxy.pac <span class="br0">&#123;</span>
  <span class="kw3">default_type</span> application/x-ns-proxy-autoconfig;
<span class="br0">&#125;</span>
<span class="kw3">location</span> = /wpad.dat <span class="br0">&#123;</span>
  <span class="kw22">rewrite</span> . /proxy.pac;
  <span class="kw3">default_type</span> application/x-ns-proxy-autoconfig;
<span class="br0">&#125;</span></pre>
<br><i>Module: NginxHttpCoreModule</i>